package com.qf.pwd;

import org.apache.shiro.crypto.hash.Md5Hash;

/**
 * projectName: rbac2103
 *
 * @author: MaTianWei
 * time: 2021/7/9 16:54
 * description:
 */
public class PasswordCreate {

    public static void main(String[] args) {

        String salt = "黑龙江老妹儿";
        String password = "123456";

        //使用md5 反复加密6
        Md5Hash hash = new Md5Hash(password, salt, 6);
        String pwd = hash.toString();
        System.out.println("pwd = " + pwd);


    }

}
